<%--
  Created by IntelliJ IDEA.
  User: mld
  Date: 17-12-12
  Time: 上午10:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c"
           uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>



</head>
<body>
<h1>登陆成功</h1>

<h1>Hello,<c:out value="${user.name}"></c:out></h1>
<h2><a href="/woodmgr/user/logout">退出</a></h2>

<div class="container">
    <div class="table-responsive">
        <c:out value="${}"></c:out>
        <table class="table table-striped table-bordered">

            <tr>
                <td>id</td>
                <td>login_time</td>
                <td>logout_time</td>
                <td>content</td>
                <td>User_id</td>
                <td>操作</td>
            </tr>
            <c:forEach items="${journals}" var="item">
                <tr>
                    <td>${item.id}</td>
                    <td>${item.login_time}</td>
                    <td>${item.logout_time}</td>
                    <td>${item.content}</td>
                    <td>${item.user.name}</td>
                    <td><a href="/woodmgr/journal/operations/${item.id}">查看</a>
                        /<a href="/woodmgr/journal/delete/${item.id}">Delete</a>
                    </td>
                </tr>
            </c:forEach>
        </table>
    </div>




</div>

</body>
</html>
